// components/activi/activi.js
Component({
  properties: {
      actData:Object,
      actType:{
        type:String,
        value:1
      }
  },
  data: {

  },
  attached(){
  
  },
  methods: {
    enrollAct:function(event){
      let act_id=event.currentTarget.dataset.actid;
      this.triggerEvent('enrollAct', {
        act_id
      }, {});
    },
    openQRCode: function (event){
      let act_id = event.currentTarget.dataset.actid;
      this.triggerEvent('openQRCode', {
        act_id
      }, {});
    }
  }
})
